<template>
    <el-menu theme="dark" :default-active="$route.path" mode="horizontal" class="navbar">
        <navbar-item></navbar-item>
    </el-menu>
</template>

<script>
    import NavbarItem from './NavbarItem'
    export default {
        components: {
            NavbarItem
        }
    }

</script>
<style scoped>
     .navbar {
        height: 60px;
    }
</style>
